<template>
  <div id="app">
    <!-- 路由入口 -->
    <keep-alive :include="keepAliveDate">
       <router-view />
    </keep-alive>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  name: 'App',
  computed: {
    ...mapState(['keepAliveDate'])
  }
}
</script>

<style lang="less" scoped>
</style>
